package com.dingli.framework.mapper;

import com.dingli.framework.entity.Resume;
import com.dingli.framework.entity.Undertake;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UndertakeMapper {

    //查询项目服务列表
    List<Undertake> selectList(String search);

    //查看项目服务详情
    List<Undertake> selectAll (Long ukeId);

    //审核通过
    int updateState(String ukeId);

    //审核不通过
    int update(String ukeId);

    //查询所有不通过的项目信息
    List<Undertake> select(String ukeId);

    //模糊查询
    List<Undertake> selectName(String typeName);

    //新增
    int insert(Undertake undertake);

    //修改
    int updateById(Undertake undertake);

    //删除
    int deleteById(Long ukeId);
}